package com.lovo.game;

import java.util.Arrays;

/**
 * 角色
 */
public abstract class Role {
    private int [] numbers = new int[4];
    abstract public void generateNumbers();
    public int[] getNumbers() {
        return numbers;
    }

    public void setNumbers(int[] numbers) {
        this.numbers = numbers;
    }

    @Override
    public String toString() {
        return "Role{" +
                "numbers=" + Arrays.toString(numbers) +
                '}';
    }
}
